home *** CD-ROM | disk | FTP | other *** search
- Path: calvin.stemnet.nf.ca!jdeeley
- From: jdeeley@calvin.stemnet.nf.ca (J.Deeley)
- Newsgroups: comp.lang.c
- Subject: switching base 10 to hex
- Date: Wed, 03 Apr 1996 11:47:56 -0400
- Organization: I need to be organized?
- Message-ID: <4ju6a9$kl6@coranto.ucs.mun.ca>
- NNTP-Posting-Host: calvin.stemnet.nf.ca
- X-Newsreader: MacSOUP 1.0d7
-
- Hello,
-
- I read the faq (very interesting!) and also did a search at the Internet
- Public Library (at which I found some other realy neat info) but I am
- still stuck on this. Appologies if this is the wrong group to ask.
- Perhaps you could point me to the right group, or a web site with this
- info. I need?
-
- I am teaching myself to program in C using a book that came with my
- compiler. In the book I just ran into a small section which deals with
- switching base 10 numbers to base two numbers (no problems there, thats
- easy) and also switching base 10 numbers to hexidecimal (base 16).
-
- Agh! My book does a lousy job of explaining how that works, and one of
- the alternative explanations I found on the net does no better. Can
- someone give me a good, simple way to get a hexadecimal number from a
- normal number? Like the number 400 for instance? Go slow...
-
- JD
-
- --
- Caution...Newbie Programmer on Board!
- --
-
-